package Test;

public class StaticDemo1 {
    public static void main(String[] args) {
    Student student1=new Student();
    student1.setName("张三");
    student1.setAge(23);
    student1.setGender("男");
    student1.teacherName="阿伟老师";//或者Student.teacherName="阿伟老师'


    student1.study();
    student1.show();

    Student student2=new Student();
    student2.setName("李四");
    student2.setAge(23);
    student2.setGender("女");
    student2.study();
    student2.show();
    }
}
